Library provider and library cache

Currently, Neuron Power Engineer supports the following library providers:

  • Local file system

  • Current project

Moreover, Neuron Power Engineer contains system libraries as well (providing so-called system blocks and system data types). As the system libraries are provided by the system itself, the column Library provider for the list of the libraries displays the text System for the system libraries.

Good to know

  • A library provider provides the deployed libraries to the Neuron Power Engineer projects for using.
    (info) Libraries of the library provider Current project are only provided within the current project. If you want to store a library outside the library providers (actually: outside the valid sources; see the following table), you must edit the library reference of the project. Details: See "Using the library reference and its syntax".

  • When a library is installed, this library is automatically unpacked within a library cache by Neuron Power Engineer. The system libraries (such as Standard) for the appropriate Neuron Power Engineer version are automatically unpacked within the library cache when a project is created or imported. That means that there is one subfolder within the path of the library cache per installed library and per system library.

  • Later on, when an already installed library is not provided by the library provider anymore, the library is still available within the library cache. The system libraries for the previous Neuron Power Engineer versions are still available within the library cache as well – even, if you do not use these Neuron Power Engineer versions anymore. Therefore, Neuron recommends that you periodically clean the library cache.

You can inspect the options for the library providers and the library cache in the preferences: menu WindowPreferences, group Library ProviderLibrary Provider
Moreover, the following changes are possible:

  • the source of the library provider where to find the libraries – In Library Provider, enter a different path under Source and click Apply.

    By default, the following subfolder is specified for a library provider.

    Library provider

    Subfolder

    Local file system

    subfolder logi.cals\NeuronPowerEngineer\Libraries of the Windows user folder

    Current project

    subfolder library-releases of the project

    Observe the following:

    • Any change for a library provider is applied to the configuration of this library provider. Observe that the selection of the library provider does not change the library provider to be applied for the projects. This means: If you select one library provider in the preferences and then you click the button Apply, still all library providers will be used for all projects.

    • In the case of the library provider Local file system, you are able to specify several sources: For this, specify the character ; after the existing folder and then specify another folder. Example: C:\Users\MMu\logi.cals\NeuronPowerEngineer\Libraries;F:\MyLibraries -- In this case, the 1st folder is used as the default folder that is used when the library is deployed.
      Furthermore, it is possible to place libraries in a subfolder of the Neuron Power Engineer installation directory, so that they can be installed – even without specifying this subfolder as an additional source for the library provider.
      If you are interested in this possibility, ask the administrator to configure Neuron Power Engineer according to the instructions in the documentation "Administrator's Manual".

    • If you want to file a library directly under the project (without any subfolder), enter the path . as source for Current project. But mind that this filing might cause a worse performance when opening/importing the project.
      (info) If you change the source of the library provider, mind that the change is considered for all projects at once when a library is deployed or installed for the next time.

  • the path of the library cache – In Library Provider, click Configure Library Cache in order to open the page Linked Resources. There edit the path variable LIBCACHE_LOC, enter the requested path and click OK.
    (info) If the button Configure Library Cache is disabled, a configuration variable has already been defined that specifies a path for the library cache. Contact the administrator, if you want to adjust the path anyway.
    By default, the subfolder logi.cals\NeuronPowerEngineer\.libcache of the Windows user folder is specified.

Good to know
The path specifications for the library provider and the library cache are saved per workspace. Therefore, if you need to make some changes in the folders for the library provider and/or library cache, first check in the preferences of Neuron Power Engineerthe specified paths for the library provider and/or library cache.